import { S } from '../../s';
import { IPSDEMobMDCtrl } from './ipsdemob-mdctrl';
import { PSDEListImpl } from './psdelist-impl';
import { IPSDEUIActionGroup } from '../../dataentity/uiaction/ipsdeuiaction-group';

export class PSDEMobMDCtrlImpl extends PSDEListImpl implements IPSDEMobMDCtrl {
  get mobListStyle():
    | 'ICONVIEW'
    | 'LISTVIEW'
    | 'SWIPERVIEW'
    | 'LISTVIEW2'
    | 'LISTVIEW3'
    | 'LISTVIEW4'
    | 'EXTVIEW1'
    | 'EXTVIEW2'
    | 'EXTVIEW3'
    | 'EXTVIEW4'
    | 'EXTVIEW5' {
    return this.M.mobListStyle;
  }

  protected psdeuiactiongroup: IPSDEUIActionGroup;
  getPSDEUIActionGroup(): IPSDEUIActionGroup | null {
    return (
      this.psdeuiactiongroup ||
      (this.psdeuiactiongroup = this.fillObjectModel(
        S._20f,
        this.M.getPSDEUIActionGroup,
        S._2e6,
      ) as IPSDEUIActionGroup)
    );
  }

  protected psdeuiactiongroup2: IPSDEUIActionGroup;
  getPSDEUIActionGroup2(): IPSDEUIActionGroup | null {
    return (
      this.psdeuiactiongroup2 ||
      (this.psdeuiactiongroup2 = this.fillObjectModel(
        S._20f,
        this.M.getPSDEUIActionGroup2,
        S._359,
      ) as IPSDEUIActionGroup)
    );
  }

  protected psdeuiactiongroup3: IPSDEUIActionGroup;
  getPSDEUIActionGroup3(): IPSDEUIActionGroup | null {
    return (
      this.psdeuiactiongroup3 ||
      (this.psdeuiactiongroup3 = this.fillObjectModel(
        S._20f,
        this.M.getPSDEUIActionGroup3,
        S._35a,
      ) as IPSDEUIActionGroup)
    );
  }

  protected psdeuiactiongroup4: IPSDEUIActionGroup;
  getPSDEUIActionGroup4(): IPSDEUIActionGroup | null {
    return (
      this.psdeuiactiongroup4 ||
      (this.psdeuiactiongroup4 = this.fillObjectModel(
        S._20f,
        this.M.getPSDEUIActionGroup4,
        S._35b,
      ) as IPSDEUIActionGroup)
    );
  }

  protected psdeuiactiongroup5: IPSDEUIActionGroup;
  getPSDEUIActionGroup5(): IPSDEUIActionGroup | null {
    return (
      this.psdeuiactiongroup5 ||
      (this.psdeuiactiongroup5 = this.fillObjectModel(
        S._20f,
        this.M.getPSDEUIActionGroup5,
        S._35c,
      ) as IPSDEUIActionGroup)
    );
  }

  protected psdeuiactiongroup6: IPSDEUIActionGroup;
  getPSDEUIActionGroup6(): IPSDEUIActionGroup | null {
    return (
      this.psdeuiactiongroup6 ||
      (this.psdeuiactiongroup6 = this.fillObjectModel(
        S._20f,
        this.M.getPSDEUIActionGroup6,
        S._35d,
      ) as IPSDEUIActionGroup)
    );
  }
  get cls(): string {
    return 'PSDEMobMDCtrlImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._251) return true;
    return super.instanceof(cls);
  }
}
